home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
comms
/
icom0425.arj
/
POSTMAIL.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-04-25
|
2KB
|
31 lines
@Echo off
Echo off
rem This BAT file, if found in the ICOM home directory (locating it on the
rem PATH is insufficient) is automatically executed by Intellicomm after
rem finishing a job in which one or more MAIL downloads took place. Its
rem intended purpose is to automatically carry out any routine maintenance
rem on newly downloaded mail packets. I.e. if you have a program which
rem performs special functions on new mail packets, such as inserting in
rem a message base, or filtering certain messages, etc., place the required
rem command(s) below these remarks.
rem
rem o If you don't want this BAT to run, simply remove it from ICOM's home
rem directory (where ICOM.EXE is located, or where the ICOM environment
rem variable points to), or rename it.
rem
rem o You may also create PREMAIL.BAT to perform any routine tasks BEFORE mail
rem transfers. And you can create scripts PREMAIL.SCR and POSTMAIL.SCR
rem (must be in the \ICOM\SCR directory) for more power and control.
rem
rem o NOTE that Intellicomm automatically changes to the global (main setup)
rem Message Directory before calling this BAT, so you needn't do a CHDIR
rem here unless you must perform work in another directory.
rem
rem o Intellicomm passes your main Message Directory to this BAT as %1, and
rem your main Reply Directory as %2 (trailing slashes are auto-stripped from
rem directory names). E.g. COPY *.* %2 copies all message packets to your
rem Reply Directory (%1 isn't needed in this command since Icom has already
rem done a CD to the Message Directory).
rem
Echo Rename POSTMAIL.BAT to POSTMAIL.BAK to bypass running of this file.